What is wrong with this HTML5 <address> element? [closed]

Posted by binaryorganic on Pro Webmasters See other posts from Pro Webmasters or by binaryorganic
Published on 2011-02-07T15:09:18Z Indexed on 2011/02/07 15:34 UTC
Read the original article Hit count: 163

Filed under:
|
|
|
|
<div id="header-container">
      <address>
        <ul>
            <li>lorem ipsum</li>
            <li>(xxx) xxx-xxxx</li>
        </ul>
    </address>
</div>

And the CSS looks like this:

#header-container address {float: right; margin-top: 25px;}

When I load the page, it looks fine in Chrome & IE, but in Firefox it's ignoring the styling completely. When I view source in firefox it looks like above, but in Firebug it looks like this:

<div id="header-container">
    <address> </address>
    <ul>
         <li>lorem ipsum</li>
         <li>(xxx) xxx-xxxx</li>
    </ul>
</div>

© Pro Webmasters or respective owner

Related posts about html

Related posts about css